package com.matrix.index.ui.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.matrix.index.R
import com.matrix.index.ui.home.bean.JuheJoke

class RVJuheAdapter(layoutResId: Int, dates: MutableList<JuheJoke.Result>) :
    BaseQuickAdapter<JuheJoke.Result, BaseViewHolder>(
        layoutResId, dates
    ), LoadMoreModule {

    override fun convert(holder: BaseViewHolder, item: JuheJoke.Result) {
        holder.setText(R.id.tv_content, item.content)
    }
}